/**
 * Created by kiwi on 16/12/21.
 */

const selectTab = (state = "tab1", action) => {
  switch (action.type) {
    case 'SELECT_TAB':
      return action.tabName;
    default:
      return state
  }
};

export default selectTab